package com.bailan.mapper;

import com.bailan.pojo.Message;
import com.bailan.pojo.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaiLan
 * @since 2022:05:21
 */
@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    @Select("Select T_name from teacher where T_id=#{id} ")
    public String getTeacherName();

}
